# -*- coding: utf-8 -*-
'''
Created on June 13th, 2011

@author: manux
'''
import os

class DaoChemin():
    '''
    Constructeurs
    '''
    def __init__(self):
        self.cheminVersDao = self._versDAO()
    
    
    ''' Modifie le chemin absolue pour envoyer vers le répertoire DAO '''
    def _versDAO(self):
        chemin = os.getcwd()
        chemin = chemin.split('/')
        x = 0
        while(chemin[x] != 'TheShinProject'):
            x += 1
        chemin = '/'.join(chemin[:x+1])
        chemin = str(chemin) + "/DAO/"
        return chemin
